﻿<div  class="customer_details">
    <div class="detail-data">
        <div class="export">
            <i class="fl report-icon-help" style="margin-top: 6px;" ui-tip  url="views/customer-conversion/tips3.html"></i>
            <div class="fl date">
                <a href="javascript:;" class="down" ng-click="query.exportDetailsData($event,tableIndex)">导出</a>
            </div>
        </div>

        <div class="report-content-auto" style="height: 480px;" ng-cloak
             ng-show="query.detailData.length">
            <table>
                <tbody>
                <tr class="bg-blur">
                    <th class="bg-th">项目名称</th>
                    <th class="bg-th">客户信息</th>
                    <th class="bg-th">客户状态</th>
                    <th class="bg-th">经纪人信息</th>
                    <th class="bg-th">渠道身份</th>
                    <th class="bg-th">报备时间</th>
                    <th class="bg-th">报备成功时间</th>
                    <th class="bg-th">到访时间</th>
                    <th class="bg-th">认筹时间</th>
                    <th class="bg-th">认购时间</th>
                    <th class="bg-th">签约时间</th>
                    <th class="bg-th">保护期截止时间</th>
                    <th class="bg-th">置业顾问</th>
                </tr>
                <tr data-ng-repeat="item in query.detailData">
                    <td style="min-width:100px;"><p class="textoverflow" title="{{item.proj_name}}">{{item.proj_name}}</p></td>
                    <td style="min-width:100px;"><p>{{item.cst_name}}{{item.cst_gender?'('+item.cst_gender+')':''}}</p><p>{{item.cst_tel}}</p></td>
                    <td style="min-width:100px;">{{item.cst_status_txt}}</td>
                    <td style="min-width:100px;"><p>{{item.broker_name}}{{item.broker_gender?'('+item.broker_gender+')':''}}</p><p>{{item.broker_tel}}</p></td>
                    <td style="min-width:100px;">{{item.capacity_des_text}}</td>
                    <td style="min-width:80px;">{{item.bb_date | limitTo : 10}}</td>
                    <td style="min-width:100px;">{{item.success_bb_date | limitTo : 10}}</td>
                    <td style="min-width:80px;">{{item.df_date | limitTo : 10}}</td>
                    <td style="min-width:80px;">{{item.rc_date | limitTo : 10}}</td>
                    <td style="min-width:80px;">{{item.rg_date | limitTo : 10}}</td>
                    <td style="min-width:80px;">{{item.qy_date | limitTo : 10}}</td>
                    <td style="min-width:110px;">{{item.save_enddate | limitTo : 10}}</td>
                    <td style="min-width:80px;">{{item.sale_name}}</td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="no-data" ng-if="!query.loading&&!query.hasDetailData">
            <span>暂无数据</span>
        </div>
    </div>
    <div ui-pagination page-index="query.detailPageIndex" page-size="query.detailPageSize" total="query.detailTotal"
         changed="query.queryDetail($pageIndex,tableIndex)"></div>
</div>